package com.usian.apis.wemedia;

import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.media.dtos.WmMaterialDto;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.multipart.MultipartFile;
@Api(value = " 自媒体素材管理" ,tags = "WmMaterialControllerApi", description = "自媒体素材管理API")
public interface WmMaterialControllerApi {
    /**
     * 上传图片
     * @param file
     * @return
     */
    ResponseResult uploadPicture(MultipartFile file,Integer status);

    ResponseResult findList(WmMaterialDto dto);

    ResponseResult delPicture(Integer id);
    /**
     * 取消收藏
     * @param id
     * @return
     */
    ResponseResult cancleCollectionMaterial(Integer id);

    /**
     * 收藏图片
     * @param id
     * @return
     */
    ResponseResult collectionMaterial(Integer id);
}
